package org.zfes.snowier.cloud.zbss.pmp.model;
import org.zfes.snowier.common.dao.IBaseModel;
public class PmpDeduceLine extends IBaseModel{

	private static final long serialVersionUID = 1L;
	
	public PmpDeduceLine() {}
	public PmpDeduceLine(Long id) {
		this.setId(id);
	}
	//<-------------------------------------------->

 

	@javax.validation.constraints.NotNull(message="所属项目不能为空")
	  private java.lang.Long projectId;
	@javax.validation.constraints.NotBlank(message="扣分标准名称不能为空")
	@javax.validation.constraints.NotNull(message="扣分标准名称不能为空")
	@org.hibernate.validator.constraints.Length(min=0,max=255,message="扣分标准名称长度不能大于255")
	  private java.lang.String deduceName;
	@javax.validation.constraints.NotNull(message="扣分数不能为空")
	  private java.lang.Float deduceScore;
	@javax.validation.constraints.NotNull(message="创建者不能为空")
	  private java.lang.Long creatorUserId;
	@javax.validation.constraints.NotBlank(message="创建者不能为空")
	@javax.validation.constraints.NotNull(message="创建者不能为空")
	@org.hibernate.validator.constraints.Length(min=0,max=255,message="创建者长度不能大于255")
	  private java.lang.String creatorUserName;
	@javax.validation.constraints.NotNull(message="状态不能为空")
	  private java.lang.Byte status;
	  private java.util.Date updatetime;
	  private java.util.Date createtime;
 
	
	//<-------------------------------------------->
	public PmpDeduceLine setProjectId(java.lang.Long projectId){
	 this.projectId=projectId;
	 return this;
	}
	public java.lang.Long getProjectId(){
		return this.projectId;
	}
	public PmpDeduceLine setDeduceName(java.lang.String deduceName){
		this.deduceName=deduceName==null?null:deduceName.trim();
	 return this;
	}
	public java.lang.String getDeduceName(){
		return this.deduceName;
	}
	public PmpDeduceLine setDeduceScore(java.lang.Float deduceScore){
	 this.deduceScore=deduceScore;
	 return this;
	}
	public java.lang.Float getDeduceScore(){
		return this.deduceScore;
	}
	public PmpDeduceLine setCreatorUserId(java.lang.Long creatorUserId){
	 this.creatorUserId=creatorUserId;
	 return this;
	}
	public java.lang.Long getCreatorUserId(){
		return this.creatorUserId;
	}
	public PmpDeduceLine setCreatorUserName(java.lang.String creatorUserName){
		this.creatorUserName=creatorUserName==null?null:creatorUserName.trim();
	 return this;
	}
	public java.lang.String getCreatorUserName(){
		return this.creatorUserName;
	}
	public PmpDeduceLine setStatus(java.lang.Byte status){
	 this.status=status;
	 return this;
	}
	public java.lang.Byte getStatus(){
		return this.status;
	}
	public PmpDeduceLine setUpdatetime(java.util.Date updatetime){
	 this.updatetime=updatetime;
	 return this;
	}
	public java.util.Date getUpdatetime(){
		return this.updatetime;
	}
	public PmpDeduceLine setCreatetime(java.util.Date createtime){
	 this.createtime=createtime;
	 return this;
	}
	public java.util.Date getCreatetime(){
		return this.createtime;
	}

}
